package com.yuw.entity;

/**
 * 实体类：要求实体类的字段和数据库的字段具有映射关系；
 */
public class Student {
    // 属性
    private Integer stuId;
    private String stuName;
    private String stuNum;
    private String stuSex;
    private double stuSore;

    // 行为

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public double getStuSore() {
        return stuSore;
    }

    public void setStuSore(double stuSore) {
        this.stuSore = stuSore;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuNum='" + stuNum + '\'' +
                ", stuSex='" + stuSex + '\'' +
                ", stuSore=" + stuSore +
                '}';
    }
}
